package data;

import java.util.List;


public class Model {

	/**
	 * @param args
	 */
	String name;
	int headCredit;
	int tailCredit;
	List<SubModel> subModelList;
	
	public Model(String name,int headCredit,int tailCredit){
		this.name = name;
		this.headCredit = headCredit;
		this.tailCredit = tailCredit;
	}
	public String getName(){
		return name;
	}
	public int getHeadCredit(){
		return headCredit;
	}
	public int getTailCredit(){
		return tailCredit;
	}
	public List<SubModel> getSubModelList(){
		return subModelList;
	}
	public void setSubModelList(List<SubModel> list){
		subModelList = list;
	}

}
